

import 'package:flutter_shark_im/entity/message/base_message_entity.dart';

class SendEntity {
	int no;
	String createTime;
	String to;
	int id = BaseMessageEntity.SEND_MESSAGE;
	String content;

	SendEntity({this.no, this.createTime, this.to, this.content});

	SendEntity.fromJson(Map<String, dynamic> json) {
		no = json['no'];
		createTime = json['createTime'];
		to = json['to'];
		id = json['id'];
		content = json['content'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['no'] = this.no;
		data['createTime'] = this.createTime;
		data['to'] = this.to;
		data['id'] = this.id;
		data['content'] = this.content;
		return data;
	}
}
